package com.taotao;

import com.taotao.proxy.service.JdkInvocationHandler;
import com.taotao.proxy.service.OrderService;
import com.taotao.proxy.service.impl.OrderServiceImpl;

/**
 * @Author: wangjin
 * @CreateTime: 2022-07-05  22:25
 */
public class Test03 {
    public static void main(String[] args) {
        OrderService orderService=new JdkInvocationHandler(new OrderServiceImpl()).getProxy();
           orderService.addOrder("taotao");
    }
}
